import 'package:get/get.dart';

import '../modules/AboutAccount/bindings/about_account_binding.dart';
import '../modules/AboutAccount/views/about_account_view.dart';
import '../modules/AboutApp/bindings/about_app_binding.dart';
import '../modules/AboutApp/views/about_app_view.dart';
import '../modules/AboutRobot/bindings/about_robot_binding.dart';
import '../modules/AboutRobot/views/about_robot_view.dart';
import '../modules/ActionSquares/bindings/action_squares_binding.dart';
import '../modules/ActionSquares/views/action_squares_view.dart';
import '../modules/BindSucess/bindings/bind_sucess_binding.dart';
import '../modules/BindSucess/views/bind_sucess_view.dart';
import '../modules/Binding/bindings/binding_binding.dart';
import '../modules/Binding/views/binding_view.dart';
import '../modules/ConnectSucess/bindings/connect_sucess_binding.dart';
import '../modules/ConnectSucess/views/connect_sucess_view.dart';
import '../modules/DeviceConnection/bindings/device_connection_binding.dart';
import '../modules/DeviceConnection/views/device_connection_view.dart';
import '../modules/DismissAccount/bindings/dismiss_account_binding.dart';
import '../modules/DismissAccount/views/dismiss_account_view.dart';
import '../modules/DismissAccountFianl/bindings/dismiss_account_fianl_binding.dart';
import '../modules/DismissAccountFianl/views/dismiss_account_fianl_view.dart';
import '../modules/ManualConnection/bindings/manual_connection_binding.dart';
import '../modules/ManualConnection/views/manual_connection_view.dart';
import '../modules/MineRobots/bindings/mine_robots_binding.dart';
import '../modules/MineRobots/views/mine_robots_view.dart';
import '../modules/MineWifiSetting/bindings/mine_wifi_setting_binding.dart';
import '../modules/MineWifiSetting/views/mine_wifi_setting_view.dart';
import '../modules/PermissionSetting/bindings/permission_setting_binding.dart';
import '../modules/PermissionSetting/views/permission_setting_view.dart';
import '../modules/PowerOning/bindings/power_oning_binding.dart';
import '../modules/PowerOning/views/power_oning_view.dart';
import '../modules/ReadingCompany/bindings/reading_company_binding.dart';
import '../modules/ReadingCompany/views/reading_company_view.dart';
import '../modules/RobotsDetail/bindings/robots_detail_binding.dart';
import '../modules/RobotsDetail/views/robots_detail_view.dart';
import '../modules/TurnOnGuide/bindings/turn_on_guide_binding.dart';
import '../modules/TurnOnGuide/views/turn_on_guide_view.dart';
import '../modules/WifiPassword/bindings/wifi_password_binding.dart';
import '../modules/WifiPassword/views/wifi_password_view.dart';
import '../modules/WifiPassword2/bindings/wifi_password2_binding.dart';
import '../modules/WifiPassword2/views/wifi_password2_view.dart';
import '../modules/WifiSetting/bindings/wifi_setting_binding.dart';
import '../modules/WifiSetting/views/wifi_setting_view.dart';
import '../modules/WifiSetting2/bindings/wifi_setting2_binding.dart';
import '../modules/WifiSetting2/views/wifi_setting2_view.dart';
import '../modules/bindtip/bindings/bindtip_binding.dart';
import '../modules/bindtip/views/bindtip_view.dart';
import '../modules/home/bindings/home_binding.dart';
import '../modules/home/views/home_view.dart';
import '../modules/launcher/bindings/launcher_binding.dart';
import '../modules/launcher/views/launcher_view.dart';
import '../modules/login/bindings/login_binding.dart';
import '../modules/login/views/login_view.dart';
import '../modules/video_live/bindings/video_live_binding.dart';
import '../modules/video_live/views/video_live_view.dart';
import '../modules/webview/bindings/webview_binding.dart';
import '../modules/webview/views/webview_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.LAUNCHER;

  static final routes = [
    GetPage(
      name: _Paths.HOME,
      page: () => const HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: _Paths.LAUNCHER,
      page: () {
        return LauncherView();
      },
      binding: LauncherBinding(),
    ),
    GetPage(
      name: _Paths.LOGIN,
      page: () => LoginView(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: _Paths.PERMISSION_SETTING,
      page: () => const PermissionSettingView(),
      binding: PermissionSettingBinding(),
    ),
    GetPage(
      name: _Paths.TURN_ON_GUIDE,
      page: () => const TurnOnGuideView(),
      binding: TurnOnGuideBinding(),
    ),
    GetPage(
      name: _Paths.DEVICE_CONNECTION,
      page: () => const DeviceConnectionView(),
      binding: DeviceConnectionBinding(),
    ),
    GetPage(
      name: _Paths.CONNECT_SUCESS,
      page: () => const ConnectSucessView(),
      binding: ConnectSucessBinding(),
    ),
    GetPage(
      name: _Paths.WIFI_SETTING,
      page: () => const WifiSettingView(),
      binding: WifiSettingBinding(),
    ),
    GetPage(
      name: _Paths.MANUAL_CONNECTION,
      page: () => const ManualConnectionView(),
      binding: ManualConnectionBinding(),
    ),
    GetPage(
      name: _Paths.WIFI_PASSWORD,
      page: () => WifiPasswordView(),
      binding: WifiPasswordBinding(),
    ),
    GetPage(
      name: _Paths.BINDING,
      page: () => const BindingView(),
      binding: BindingBinding(),
    ),
    GetPage(
      name: _Paths.VIEWO_LIVE,
      page: () => VideoLiveView(),
      binding: VideoLiveBinding(),
    ),
    GetPage(
      name: _Paths.BINDTIP,
      page: () => const BindtipView(),
      binding: BindtipBinding(),
    ),
    GetPage(
      name: _Paths.POWER_ONING,
      page: () => const PowerOningView(),
      binding: PowerOningBinding(),
    ),
    GetPage(
      name: _Paths.ROBOTS_DETAIL,
      page: () => const RobotsDetailView(),
      binding: RobotsDetailBinding(),
    ),
    GetPage(
      name: _Paths.MINE_ROBOTS,
      page: () => MineRobotsView(),
      binding: MineRobotsBinding(),
    ),
    GetPage(
      name: _Paths.ABOUT_ROBOT,
      page: () => const AboutRobotView(),
      binding: AboutRobotBinding(),
    ),
    GetPage(
      name: _Paths.ABOUT_ACCOUNT,
      page: () => const AboutAccountView(),
      binding: AboutAccountBinding(),
    ),
    GetPage(
      name: _Paths.DISMISS_ACCOUNT,
      page: () => const DismissAccountView(),
      binding: DismissAccountBinding(),
    ),
    GetPage(
      name: _Paths.DISMISS_ACCOUNT_FIANL,
      page: () => const DismissAccountFianlView(),
      binding: DismissAccountFianlBinding(),
    ),
    GetPage(
      name: _Paths.MINE_WIFI_SETTING,
      page: () => const MineWifiSettingView(),
      binding: MineWifiSettingBinding(),
    ),
    GetPage(
      name: _Paths.WIFI_SETTING2,
      page: () => const WifiSetting2View(),
      binding: WifiSetting2Binding(),
    ),
    GetPage(
      name: _Paths.WIFI_PASSWORD2,
      page: () => const WifiPassword2View(),
      binding: WifiPassword2Binding(),
    ),
    GetPage(
      name: _Paths.ACTION_SQUARES,
      page: () => ActionSquaresView(),
      binding: ActionSquaresBinding(),
    ),
    GetPage(
      name: _Paths.READING_COMPANY,
      page: () => const ReadingCompanyView(),
      binding: ReadingCompanyBinding(),
    ),
    GetPage(
      name: _Paths.BIND_SUCESS,
      page: () => const BindSucessView(),
      binding: BindSucessBinding(),
    ),

    GetPage(
      name: _Paths.WEBVIEW,
      page: () => const WebViewView(),
      binding: WebviewBinding(),
    ),
    GetPage(
      name: _Paths.ABOUT_APP,
      page: () => AboutAppView(),
      binding: AboutAppBinding(),
    ),
  ];
}
